package com.feri.buy.common.config;

/**
 * @author Feri
 * @date 2021/12/31 10:09
 * @description:TODO
 */
public class SystemConfig {
    //阿里云账号的key和密钥
    public static final String ALI_KEY="LTAI5tKz7sP4xaaRsTuxoTjx";
    public static final String ALI_SEC="mFCyf0QxVmB6kGAacAxdtMqmQwcRIx";
    //阿里云短信模板
    public static final String ALI_SMS_RCODE="SMS_114390520";//注册
    public static final String ALI_SMS_LCODE="SMS_115250125";//登录
    public static final String ALI_SMS_FCODE="SMS_181545700";//密码找回

    //验证码的长度
    public static final int CODE_LEN=6;

    //接口统一结果码
    public static final int R_OK=200;
    public static final int R_FAIL=400;

    //认证操作类型
    public static final int USER_TYPE_ADD=1;
    public static final int USER_TYPE_LOGIN=2;
    public static final int USER_TYPE_FIND=3;
    public static final int USER_TYPE_LERROR=4;


    //正则表达式
    public static final String REG_PHONE="1[3-9]{1}[0-9]{9}";

    //密码的密钥
    public static final String PASS_KEY="RAHW4pSvPJKOpuGGdbU+pw==";

    //标记位 1有效 2无效
    public static final int FLAG_OK=1;
    public static final int FLAG_ERROR=2;

    //自定义请求消息头
    public static final String REQ_HEADER_TOKEN="sqtoken";//传输令牌

    //文件名的长度
    public static final int FILE_LENGTH=50;

    //Oss 访问地址默认3年
    public static final int OSS_URL_TIME=3;

    //百度秘钥
    public static final String BAIDU_APPID="17214730";
    public static final String BAIDU_KEY="WnrcZnQNbveI7UG7sDroOm1K";
    public static final String BAIDU_SEC="FUui3jN440l9eLN8B335C3VS62HvtafU";

    //积分奖励
    public static final int SIGN_SCORE_F=20;//首次签到
    public static final int SIGN_SCORE_W=5;//连续1星期
    public static final int SIGN_SCORE_M=20;//连续1个月
    public static final int SIGN_SCORE_Y=100;//连续1年
    public static final int SCORE_R=50;//注册好礼，赠送50积分
    public static final int SCORE_L=1;//登陆，赠送1积分

    public static final int SIGN_DAY_3=3;//
    public static final int SIGN_DAY_7=7;//
    public static final int SIGN_DAY_30=30;//
    public static final int SIGN_DAY_365=365;//



}
